package com.fy.pojo.enums;

public enum AliyunOssFileTypeEnum {
     BMP(".bmp","image/bmp"),
     GIF(".gif","image/gif"),
     JPEG(".jpeg","image/jpeg"),
     JPG(".jpg","image/jpeg"),
     PNG(".png","image/jpeg"),
     HTML(".html","text/html"),
     XML(".xml","text/xml"),
     TXT(".txt","application/octet-stream"),
     SQL(".sql","application/octet-stream"),
     VSD(".vsd","application/vnd.visio"),
     PDF(".pdf","application/pdf"),
     PPT(".ppt","application/vnd.ms-powerpoint"),
     PPTX(".pptx","application/vnd.ms-powerpoint"),
     DOC(".doc","application/msword"),
     DOCX(".docx","application/msword"),
     XLS(".xls","application/vnd.ms-excel"),
     XLSX(".xlsx","application/vnd.ms-excel"),
     CSV(".csv","application/vnd.ms-excel");
 
 
     String code;
 
 
     String text;
 
 
     AliyunOssFileTypeEnum() {
     }
 
 
     AliyunOssFileTypeEnum(String code, String text) {
          this.code = code;
          this.text = text;
     }
 
 
     public String getCode() {
          return code;
     }
 
 
     public void setCode(String code) {
          this.code = code;
     }
 
 
     public String getText() {
          return text;
     }
 
 
     public void setText(String text) {
          this.text = text;
     }
}